package com.wrx.server.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 检测主题帖收藏记录是否存在Bean
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@TableName("t_collect")
@ApiModel(value="CollectVerifyModel对象", description="")
public class CollectVerifyModel {
    @ApiModelProperty(value = "判断是否收藏的对象")
    Object object;

    @ApiModelProperty(value = "是否被当前用户收藏")
    boolean collect_state;

    public CollectVerifyModel(){};

    public CollectVerifyModel(Object object, boolean collect_state) {
        this.object = object;
        this.collect_state = collect_state;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public boolean isCollect_state() {
        return collect_state;
    }

    public void setCollect_state(boolean collect_state) {
        this.collect_state = collect_state;
    }
}
